package com.liang.serviceImpl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.liang.dao.StoreDao;
import com.liang.pojo.Gorillaceo;
import com.liang.pojo.Store;
import com.liang.service.StoreService;
@Service
public class StoreServiceImpl implements StoreService{
	@Autowired
	StoreDao storeDao;
	@Override
	public List<Store> selectAllStore(Map<String,Object> map) {
		return storeDao.selectAllStore(map);
	}

	@Override
	public Store selectStoreById(int id) {
		return storeDao.selectStoreById(id);
	}

	@Override
	public int insertTwoHundredStore(Map<String, Object> map) {
		return storeDao.insertTwoHundredStore(map);
	}

	@Override
	public int updateStore(Store store) {
		return storeDao.updateStore(store);
	}

	@Override
	public int deleteStoreByList(Gorillaceo gorillaceo) {
		return storeDao.deleteStoreByList(gorillaceo);
	}

	@Override
	public List<Store> selectAllMatong(Map<String, Object> map) {
		return storeDao.selectAllMatong(map);
	}

	@Override
	public List<Store> selectAllShafa(Map<String, Object> map) {
		return storeDao.selectAllShafa(map);
	}

}
